package com.jiangxiaofei.citycloud.mvp;

import android.content.Context;

import com.jiangxiaofei.citycloud.bean.ParkDetailInfoBean;
import com.jiangxiaofei.citycloud.httpUtil.BaseView;
import com.jiangxiaofei.citycloud.httpUtil.OnLoadDataIm;
import com.jiangxiaofei.citycloud.param.BaiduPlaceParam;
import com.jiangxiaofei.citycloud.param.GetPartParam;

/**
 * 作者: JiangXfei
 * 日期: 2017/9/20 0020
 */

public class CarConstant {
    //获取百度地图  关键字搜索结果
    public interface GetBaiduPlaceModel {
        void setBaiduPlace(Context mContext, BaiduPlaceParam baiduPlaceParam, OnLoadDataIm callback);
    }

    public interface GetBaiduPlaceView {
        void getPlaceSuccess(Object o);

        BaiduPlaceParam getBaiduPlace();

    }

    public interface GetBaiduPlacePersenter {
        void getPlace();
    }

    //    获取停车场信息
    public interface GetParkModel {
        void getPark(Context mContext, GetPartParam partParam, OnLoadDataIm callback);
    }

    public interface GetParkView {
        GetPartParam getPark();

        void onSuccessPart(Object o);
    }

    public interface GetParkPersenter {
        void getPark();
    }

    //    获取停车场详细信息
    public interface getParkDetailModel {
        void getPartDetail(Context mContext, String parkSeq, OnLoadDataIm callback);
    }

    public interface getParkDetailView extends BaseView {
        String getParkSeq();

        void onSuccessParkDetail(ParkDetailInfoBean.ParkDetailsInfoBean o);
    }

    public interface getParkDetailPersenter {
        void getParkDetail();
    }
}
